﻿using Castle.DynamicProxy;
namespace DiffuseEnjoyIdle.Core.Aop
{
    public class TransactionAop : IInterceptor
    {

        public TransactionAop()
        {

        }

        /// <summary>
        /// 拦截
        /// </summary>
        /// <param name="invocation"></param>
        public void Intercept(IInvocation invocation)
        {
            var method = invocation.MethodInvocationTarget ?? invocation.Method;
            var s = 1;
            invocation.Proceed();
        }
    }
}
